FROM openjdk:8-jdk-alpine
VOLUME /tmp
ADD app app
RUN sh -c 'touch /app/ljm-web-1.0.0.0-SNAPSHOT.jar'
ENV JAVA_OPTS=""
ENTRYPOINT [ "sh", "-c", "java $JAVA_OPTS -Djava.security.egd=file:/dev/./urandom -jar /app/ljm-web-1.0.0.0-SNAPSHOT.jar --spring.config.location=/app/application.yml" ]
